Release 10.1A: OpenEdge Development:
.NET Open Clients
General property accessor methods for
Connection objectsYou can access
Connectionobject properties by property name using thegetandsetgeneral purpose methods. When you use these methods, you must call the correct accessor based on the data type of the property. Here is the syntax for these general methods:Get property methods syntax
Set property methods syntax
propNameThe property name. This can be any of the properties listed in the tables in the "Available properties" section.
propValueThe value for
propName.Example
For example, to set the
PROGRESS.Session.InitialConnectionsproperty to 5, use the following method to set an integer property:
where
ConnectObjis an instance of theProgress.Open4GL.Proxy.Connectionclass.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |